<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>音效生成工具 - 金山学院牛人榜</title>
  <script src="generate-sounds.js"></script>
  <style>
    body {
      font-family: 'Microsoft YaHei', Arial, sans-serif;
      margin: 0;
      padding: 20px;
      background-color: #f0f2f5;
      color: #333;
    }
    .warning {
      background-color: #ffecb3;
      border-left: 5px solid #ffc107;
      padding: 15px;
      margin: 20px 0;
      border-radius: 0 5px 5px 0;
    }
    .warning h3 {
      color: #e65100;
      margin-top: 0;
    }
  </style>
</head>
<body>
  <div class="warning">
    <h3>⚠️ 缺失音效文件</h3>
    <p>网站检测到音效文件缺失。请点击下方按钮生成音效文件，然后将下载的文件放入 <code>public/sounds</code> 目录。</p>
    <p>确保以下音效文件存在：</p>
    <ul>
      <li>drumroll.mp3</li>
      <li>reveal.mp3</li>
      <li>applause.mp3</li>
      <li>whoosh.mp3</li>
      <li>epic.mp3</li>
      <li>click.mp3</li>
    </ul>
  </div>
  <!-- 脚本会自动创建页面内容 -->
</body>
</html> 